setCropScaleRatio

abstract fun setCropScaleRatio(block: DesignBlock, scaleRatio: Float)

Set the crop scale ratio of the given design block. This will uniformly scale the content up or down. The center of the scale operation is the center of the crop frame. Required scope: "layer/crop"

Parameters

block

the block whose crop scale ratio should be set.

scaleRatio

the rotation in radians.